package javacource.redis.lock;

/**
 * Create by chenhd on 2021/10/23.
 */
public interface RedisLock {
    /**
     * 分布式锁
     */
    boolean lock(String key, String value, long second);

    boolean unLock(String key, String value);
}
